package cn.com.api.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiT_member_wemedia;
import cn.com.api.mapper.base.T_member_wemediaMapperBase;
import cn.com.util.PageInfo;

//DA  O scott
public interface ApiT_member_wemediaMapper extends T_member_wemediaMapperBase {

	public List<ApiT_member_wemedia> findT_member_wemediasByMap(@Param("map") Map map);

	//根据条件查询自媒体的记录集 
	public List<Map<String, Object>> findMember_wemediasByMap(@Param("map") Map map);
	
	//获取关注的自媒体列表
	public List<ApiT_member_wemedia> findWemediaListByFollowTypeListPage(@Param("user_id") String user_id, @Param("type") Integer type, @Param("page") PageInfo page);
	
	public ApiT_member_wemedia findT_member_wemediaByUserId(@Param("userId") Integer userId);
}
